#include <iostream>
#include <cmath>

using namespace std;

const double eps = 1e-4;

double a, b, c, d;
int cnt;

double get_value(double x)
{
	return a * x * x * x + b * x * x + c * x + d;
}

bool check(double mid)
{
	return get_value(mid) >= -eps;
}

bool oper(double l, double r)
{
	return get_value(l) * get_value(r) > -eps;
}

int main()
{
	cin >> a >> b >> c >> d;
	
	for (int i = -100; i < 100; i ++ )
	{	
		double l = i;
		double r = i + 1;
		
		if(fabs(get_value(l)) < eps)
		{
			printf("%.2lf ", l);
//			return 0;
			continue;
		}
		
		if(oper(l, r)) continue;
		
		while (r - l > eps)
		{
			double mid = (l + r) / 2;
			if(oper(l, mid)) l = mid;
			else r = mid;
		}
		
		printf("%.2lf ", l);
	}
	return 0;
} 
